package com.server.service;

import java.util.List;
import java.util.Map;

import com.server.web.DataVector;
import com.server.web.RequestInput;

public interface ISourceService {

	public Boolean addType(Integer typeNo, String type, String note);

	public Boolean updateType(Integer typeNo, String type, String note, Integer id);

	public Boolean deleteType(String ids);

	public List<Map<String, Object>> getTypeList(RequestInput requestInput);

	public Map<String, Object> getTypeForm(Integer id);

	public Boolean add(String operator, Map<String, Object> inputMap);
	public Boolean add(String operator, Integer typeId, String cardIds);

	public Boolean update(String operator, Map<String, Object> inputMap);

	public Map<String, Object> delete(String cardIds);

	public DataVector<Map<String, Object>> getList(RequestInput requestInput,
			Integer typeId);

	public Map<String, Object> getForm(String cardId);

	public Map<String, Object> getFormByPhone(String phone);
	
}
